package com.glsc.ngateway.common.base.domain.mysql.opmanage.report.excel.hyproject;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import javax.persistence.*;


@Entity
@Table(name = "t_hy_project_match")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
@IdClass(HyProjectMatchId.class)
public class HyProjectMatch {
    @Id
    @Column(name="fc_project_name")
    @ExcelProperty("项目名称")
    private String projectName;

    @Id
    @Column(name="fc_project_code")
    @ExcelProperty("项目代码")
    private String projectCode;

    @Id
    @Column(name="fc_customer_name")
    @ExcelProperty("客户名称")
    private String customerName;

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectName() {
        return projectName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }
}
